home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1836 / text0000.txt < prev   
Encoding:
Text File  |  1996-08-05  |  1.0 KB  |  29 lines

  1. In a message of 23 Jan 96 Juergen "Rally" Fischer wrote to All:
  2.  
  3.  JRF> aah, that's why the log talk :) I also had this idea, but as I'm not
  4.  JRF> maths freak I see it philosophic: if there was a way in using log for
  5.  JRF> this, some maths freak would have done ;)
  6.  
  7.  I thought you were a *speed* freak ?  (Like me.. :) )
  8.  
  9. Doesn't the thought of float multiplication replaced by add.l excite you ? Or a
  10. square root (for distance calculations perhaps) by asr.l #1,reg ??
  11.  
  12.  JRF> as all maths freaks seem to be OS-fanatics that chose slower methods
  13.  JRF> just because the source looks better ;D maybe there is a chance that
  14.  JRF> log can be useful ;)
  15.  
  16. Tsk!
  17.  
  18.  JRF> argh you'll need a log^-1 table, too. a*b=log^-1(log(a)+log(b))
  19.  JRF> adding numbers of different size gives accuracy probs!  |
  20.  
  21. Unavoidable,and logs don't make it any worse...
  22.  
  23.  The only real problem is that most calculations tend to involve adds as well
  24. as multiplies,sqrt's .. and that means converting to and from log form.. But in
  25. some situations I imagine it can be faster than using an FPU...
  26.  
  27. Ben... :)
  28.  
  29.